package com.example.mybatisinterceptor.user.service.impl;

import com.example.mybatisinterceptor.common.page.PagedList;
import com.example.mybatisinterceptor.user.dto.QuerySysUserDTO;
import com.example.mybatisinterceptor.user.entity.SysUser;
import com.example.mybatisinterceptor.user.mapper.SysUserMapper;
import com.example.mybatisinterceptor.user.service.SysUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author JiangMing Zhou
 * @date 2024/3/5 15:25
 * @jdk 1.8
 */
@Service("sysUserService")
public class SysUserServiceImpl implements SysUserService {
    @Resource
    private SysUserMapper sysUserMapper;

    @Override
    public PagedList<SysUser> selectPage(QuerySysUserDTO dto) {
        return sysUserMapper.selectPage(dto);
    }
}
